package com.yrot.admin.service;

import com.yrot.admin.entity.SysQuestions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yrot.common.result.R;
import com.yrot.common.result.Result;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hemin
 * @since 2019-04-02
 */
public interface ISysQuestionsService extends IService<SysQuestions> {
    R upload(MultipartFile file);
    List<SysQuestions> findRandQuestions(Integer trainId, Integer trainNum);
    void export();
}
